package devices;

import java.util.Vector;

import smarthouse.Room;

import commands.CommandInterface;
import commands.LightCommand;

import annotations.Device;

@Device(name="Light", description="Manage light in the room")
public class Light extends devices.AbstractDevice {
	
	public static int LEVEL=0;
	public static int RED=1;
	public static int  GREEN=2;
	public static int  BLUE=3;
	
	Vector<CommandInterface> commands = new Vector<CommandInterface>();
	
	public Light(int id, Room room){
		super(id, room);
		commands.add(new LightCommand());
	}

	

	@Override
	public Vector<Class<? extends CommandInterface>> getCommands() {
		Vector<Class<? extends CommandInterface>> commands = new Vector<Class<? extends CommandInterface>>();
		commands.add(LightCommand.class);
		return commands;
	}

}
